﻿using System;
using Combat;
using UnityEngine;
using UnityEngine.UI;

namespace UI
{
    public class RingRecoverBar : MonoBehaviour
    {
        [SerializeField] private Image bar;
        [SerializeField] private Ring ring;


        private void Update()
        {
            bar.fillAmount = 1 - ring.RecoverTimer.Progress;
        }
    }
}